/**
 * @name        globalsOption.ts
 * @author      shenyc
 * @date        2020-05-06 - ?
 * @copyright   Copy right (c) shenyc (shenyczz@163.com).
 *              All rights reserved.
 *
 ******************************************************************************/
// {{@@@}}
"use strict";
// ----------------------------------------------------------------------------
import type { GlobalsOption } from "rollup";
// ----------------------------------------------------------------------------
/**
 * 该选项用于在 umd / iife bundle 中;
 * 使用 `external-id: variableName` 键值对指定外部依赖
 */
export const globalsOption: GlobalsOption = {
    "@rollup/plugin-alias": "alias",
    "@rollup/plugin-babel": "babel",
    "@rollup/plugin-commonjs": "commonjs",
    "@rollup/plugin-json": "json",
    "@rollup/plugin-node-resolve": "nodeResolve",
    "@rollup/plugin-replace": "replace",
    "@rollup/plugin-terser": "terser",
    "@rollup/plugin-typescript": "typescript",

    "rollup-plugin-copy": "copy",
    "rollup-plugin-polyfill-node": "nodePolyfills",
};

export default globalsOption;
// ----------------------------------------------------------------------------
// {{@@@}}
